home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1995 October
/
EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso
/
Aminet
/
util
/
wb
/
ReKeyIt2_4a.lha
/
ReKeyIt
/
Install_ReKeyIt
< prev
next >
Wrap
Text File
|
1995-04-17
|
2KB
|
120 lines
; Installation script for ReKeyIt
(set @user-level 2)
(transcript "Installing ReKeyIt...")
(set locale
(askoptions
(prompt "Install which language?")
(help @askoptions-help)
(choices "English"
"Deutsch" ;1
"Français" ;2
"Suomi" ;3
"Español" ;4
"Svenska" ;5
; "Dansk"
; "Italiano"
; "Nederlands"
; "Norsk"
; "Português"
)
(default 1)
)
)
(if (IN locale 1)
(copyfiles
(source "catalogs/deutsch/ReKeyIt.catalog")
(dest "Locale:Catalogs/deutsch")
)
)
(if (IN locale 2)
(copyfiles
(source "catalogs/Français/ReKeyIt.catalog")
(dest "Locale:Catalogs/Français")
)
)
(if (IN locale 3)
(copyfiles
(source "catalogs/Suomi/ReKeyIt.catalog")
(dest "Locale:Catalogs/Suomi")
)
)
(if (IN locale 4)
(copyfiles
(source "catalogs/Español/ReKeyIt.catalog")
(dest "Locale:Catalogs/Español")
)
)
(if (IN locale 5)
(copyfiles
(source "catalogs/Svenska/ReKeyIt.catalog")
(dest "Locale:Catalogs/Svenska")
)
)
(set destdir
(askdir
(prompt "Install ReKeyIt where?")
(help @askdir-help)
(default "SYS:WBStartup")
)
)
(set @default-dest destdir)
(copyfiles
(source "ReKeyIt")
(infos)
(dest @default-dest)
)
(set preftype
(askchoice
(prompt "Which version of the prefs editor do you prefer")
(help @askchoice-help)
(choices "MUI" ;0
"BGUI" ;1
"gtlayout" ;2
)
(default 0)
)
)
(set prefdir
(askdir
(prompt "Install MenuPrefs where?")
(help @askdir-help)
(default "SYS:Prefs")
)
)
(if (= preftype 0)
(set prefname "MUI_MenuPrefs")
(if (= preftype 0)
(set prefname "BGUI_MenuPrefs")
(
(copylib
(prompt "Install gtlayout library.")
(help @copylib-help)
(source "libs/gtlayout.library")
(dest "libs:")
(confirm)
)
(set prefname "LT_MenuPrefs")
)
)
)
(copyfiles
(source prefname)
(infos)
(dest prefdir)
(newname "MenuPrefs")
)
(exit)